﻿using System;
using System.Linq;
using System.Collections.Generic;
using System.Windows.Forms;

namespace COMLog4NetTester
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [MTAThread]
        static void Main()
        {
            string currentPath = System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().GetModules()[0].FullyQualifiedName);

            log4net.Config.XmlConfigurator.Configure(new System.IO.FileInfo(System.IO.Path.Combine(currentPath, "COMLog4NetTester.log4net")));
            Application.Run(new Form1(currentPath));
        }
    }
}